package lab02.Test13;

public class School extends ComputerAverage {
    float English=120,Math=150,Chinese=98;
    float a(){
        return (English+Math+Chinese)/3;
    }
    @Override
    public void average() {
        System.out.println("平均分为"+a());
    }
}

